}
private void copyConfigurationFile(final Project project, final Class<? extends AbstractFileResourceFacet> facetType,
final File copiedFile) throws IOException {
if (project.hasFacet(facetType)) {
final AbstractFileResourceFacet facet = project.getFacet(facetType);
final File originalFile = facet.getAbsoluteFilePath();
if (!copiedFile.exists()) {
copiedFile.getParentFile().mkdirs();
copiedFile.createNewFile();
}