Get files_at_path and directories_at_path working

This checks off files_at_path and directories_at_path as working. Error handling needs to be implementing on the controller end.
Avoid using {...} for multi-line blocks.