Update file_manager.py

Update file_manager to slugify file name