Refactored Attempt for methods, error handling, stat subdirs, Setwd path checking