added check for special file

Signed-off-by: Andrwe Lord Weber <github@andrwe.org>