More file functions added.