signle file handling.. hacky