file size check just to be safe