Refactored. Moved command execution into FileSystemCommand.