Show a warning if no file path is added
Redesign the overall structure
Remove debug console.log