Removing the filename string null termination