handle empty $_FILE