add a file_system_watcher class again which hides the platform-specific complexity
add TODO comments for later optimization
move transform_if_initialized to a header
move file_system_watcher to a header