Align parameters.
Remove unused import
Make sure the file is deleted when overridden is true.
Remove whitespaces.
Change time range in header.
Use StringUtils.isBlank when applicable.
Remove commented out code.
Do not automatically add extension.
Do not add the extension twice.