Updated version wich can take path and file