Update file resolve method

Use path.join instead of manual string concat.