** Added middleware that adds user as file user when file is accessed if
user is not already a file user