some work on file function