check if input comes with full path or not