file size check added