deleted wrongly formatted paths for a filename