Changed hardcoded directory separator to PHP constant