refactor: remove unneeded conditions at worker file path checking