don't allow reading files bigger then 1MB