add method to set file property of map

also rename file to fileContents