Added support for file in the dist path