refactoring precheck logic (subdirectory existence, file permissions etc) for unsplitting into separate methods
refactoring precheck logic (subdirectory existence, file permissions etc) for unsplitting into separate methods

villez/split_directory,villez/split_directory