Common.File: removed string handling functions and replaced self-implemented FilePath functions