added Christian Berendt (author, copyright)
added method convert_directory_string
use convert_directory_string instead of if/substr
added several helper methods to fix method unlink