Fixed filesize validation bug