just put a path and basename of it into environment