public static void moveFile(Path file, Path destination) throws IOException {
        if ((file == null) || !Files.exists(file, LinkOption.NOFOLLOW_LINKS) || (destination == null)) {
            IllegalArgumentException iae = new IllegalArgumentException("The filepath is null or points to an invalid location! " + file);
            Main.handleUnhandableProblem(iae);
        }

        Files.move(file, destination, StandardCopyOption.REPLACE_EXISTING);
    }