Correct access to uploaded file attributes