FileScriptDbOperation added and some refactoring.