Added cleaning and hashing of filename.