fixed missing code line
fixed code line
removed necessity to use a registered file
removed the necessity of the registered file