Enabling file's to be correctly associated with a user's id