Move in_directory decorator to FileSystem class