Added slash check for the relative paths. Code conventions. v1.0.1.