Returning redis resource
Correcting filenames