Function for generating random file IDs
Adding terminating null byte to random strings automagically
Added filetest that should run when everything's working