Desindent code, support bin/console, shorten file_exists statement, use strerr pipe, exit using status code