Clean up filename hash