signle file handling.. hacky.. moar hacky but hopefully working