Would be nice to quote $file.