Fixed NPE when property was not defined
Fixed file separator for windows
fixed windows path parsing regex