Updated with feedback

/u/cat6_racer: FILENAME variable
/u/deciode: removed str() and bool() casts