refactored build directory cleaning process to work directly with project files found in JSON parser based on locating .project file