added folder and file for input handling with javascript