private void copyFile(String file) throws LoaderException {
		try {
			//copies files from storage to executing directory
			File out = new File(file);
			if(!out.exists()) {
				File original = new File(getClass().getResource(path + file).toURI());
				Files.copy(original.toPath(), out.toPath());
			}
		} catch(URISyntaxException e) {
			throw new LoaderException("The problem occurred while reading the file:\n\t" + file, e);
		} catch(IOException e) {
			throw new LoaderException("The problem occurred while reading the file:\n\t" + file, e);
		} catch(NullPointerException e) {
			throw new LoaderException("The problem occurred while reading the file:\n\t" + file, e);
		}
	}