throwing FileNotFoundException if persisting of mapping fails (file not found or not writable)