when path start with prefix "file:" should strip it and create