static void GetPathToFile() { try { FileProcessor.TrySetPath(InputUser.CatchUserPathToFile()); } catch (IndexOutOfRangeException) { StandardMessage.NoFileFound(); } }