Adding new miscellanious functions. Cutting box and ascii_file functions