Upload file size limit

Discarded redundant code.
Made use of "check_is_gstaff" function.