When working in a server environment where the file is not present in server, but sent from a client, SetFileContent cannot be used without writing the file to the server file system. Can be easily resolved by adding a file parameter to SetFileContent()