The file already has to exist? why not allow the user to supply a file directly to the resource?