Accept os path as input