What happens with executable files inside these directories? I think a recursive call to `stageFilesAndDirectories` would be better here?