Added function realpath()
Improved realpath() to work with files
Fixed relative file paths with '/' instad of '\' are not resolved correctly in realpath()
Added method configRead()