Renamed getFileContent to getContentAsFile as this is more intuitive