#include <stdbool.h>
 #include <stdint.h>
 
+#include "timer.h"
+
 typedef uint8_t u8_t;
 typedef uint16_t u16_t;
 typedef uint32_t u32_t;
                uint8_t  CurrentState;
                uint8_t  NextState;
                
-               char     FileName[50];
+               char     FileName[MAX_URI_LENGTH];
                FIL      FileHandle;
                bool     FileOpen;
                uint32_t ACKedFilePos;
 {
        struct
        {
-               uint8_t CurrentState;
+               uint8_t      CurrentState;
+               struct timer Timeout;
                
                struct
                {