removed redundant File methods.