More flexibility in file import/export logic
Remove superfluous spaces
test export