Changed Path to path

removed also some unuseful "require"

Jira issue: WP-1169