bugfix, filenames can have space in them now, silly string.replace..