m/directory: Created directory_contents method and arguments