Updated to normalize spaces in imported files.