Test the file size before treatement