trying to fix broken files from ftp transfer