better error message for file-size limitation