Implemented "dirty file" feature.