Don't resize if no params set
Avoid processing 0 bytes files