add callback to filehandler by @jake09
add file width and height to fileInfo by @jake09