moved files to the output folder and made path method private