Added some properties to file functions