


#"r" - open file for reading - default
#"w" - open a file for writing
#"x" - creates file does not exists
#"a" - add more content to a file
#"t" - text mode - default
#"b" - binary mode
#"+" - read and write