Stripping directory names
Adding a tiny bit of documentation