Add some utility functions (only file-oriented for now :) ). Will be used in the next commit. svn path=/branches/ntvdm/; revision=62341