added warning options to gcc
added file with structs and send functions for file operations
added send file operation functions instead of just return -EIO;