Update File.h

Added few more things there, removed lock flag.