Implement some file checkings chaining Futures
Read the file line by line
Add comments
Remove unnecessary arguments
Improve error message
Switch checking conditions to verify first that a file is not a directory
Fix typo and improve message to the user