can you delete bytes of data from a file?
Not likely.
You could blank them out, sure, but to shrink a file, I don't think so.
When writing to your "new" file, you can of course, choose to skip writing some data, in which case the file will shrink ;-)
And you might ignore data as you read it from the file.
But you can't really resize a pre-existing file.