added map file with size checking

Signed-off-by: Zach Muscat <zachmbarca@gmail.com>