use the file resource, not file type

TelekomLabs-DCO-1.1-Signed-off-by: Edmund Haselwanter <me@ehaselwanter.com> (github: ehaselwanter)
Merge pull request #18 from ehaselwanter/fix-type

use the file resource, not file type