added _file functions