[TECHNICAL SUPPORT] LPS-34437 Fixed DuplicateFileExecption during import

Hi Sergio,

This issue fixes an issue comes up during preview generation at LAR import. We should delete the original files to let the import process to overwite them.

@KocsisDaniel made some logic clean up to use a better pattern.

Please review it, and push it further if you find it OK.

Thanks