fixed specs and include extension in cleaned_filename