add file basenam/ dirname to app path