File upload wrong message

Fixed #647