question: public static void createTaskFile ( @ NotNull final VirtualFile taskDir , @ NotNull final File resourceRoot , @ NotNull final String name ) throws IOException { String systemIndependentName = FileUtil . toSystemIndependentName ( name ) ; final int index = systemIndependentName . lastIndexOf ( "/" ) ; if ( index > 0 ) { systemIndependentName = systemIndependentName . substring ( index + 1 ) ; } File resourceFile = new File ( resourceRoot , name ) ; File fileInProject = new File ( taskDir . getPath ( ) , systemIndependentName ) ; FileUtil . copy ( resourceFile , fileInProject ) ; }
target:  Creates task files in its task folder in project user created