private void writePersistentPath(long timeStamp) { try { if (!persistentPath.exists()) { FileCommands.createFile(persistentPath); } FileCommands.writeToFile(persistentPath, String.valueOf(timeStamp)); } catch (IOException e) { Log.log.logErr( "There occured an error when creating or writing" + " the persistentPath of a RemoteRequirement", Log.CORE); } }