added on error catching on the cloud extras clear filename function