remove file:// from fname